﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Users.aspx.cs" Inherits="Admin_Users" %>

<%@ Register Assembly="CrmControls" Namespace="CrmControls" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Veyron Crm</title>

    <script type="text/ecmascript">
    function SilKontrol()
    {
    var txt1idver=document.getElementById('txtUsr_Kod');
    if(txt1idver.value!="")
    return true;
    else
    {
    alert("LÜtfen Silmek İstediğiniz Kullanıcı Kodunu Girin!..");
    return false;
    }
    }
    function Kontrol()
    {
        var txt1idver=document.getElementById('txtUsr_Kod');
        var txt1idver=document.getElementById('txtUsr_Adi');
        if(txt1idver.value!="")
        {
            return true;
        }
        else
        {
            alert('Kullanıcı Adı ve Kodu Alanını Boş Geçemezsiniz !');
            return false;
        }
    }
    
    function PageClose()
    {
       window.close();
       window.opener.location='../DataList.aspx?type=Users'; 
    }
    function Refresh()
    {
       window.opener.location='../DataList.aspx?type=Users'; 
    }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="ToolBar">
        <table>
            <tr>
                <td>
                    <asp:ImageButton runat="server" ID="imgbtnKaydet" AlternateText="Kaydet" ImageUrl="~/images/page/save.gif"
                        OnClick="imgbtnKaydet_Click" />
                </td>
                <td>
                    <asp:ImageButton runat="server" ID="imgbtnKaydetKapat" AlternateText="Kaydet ve Kapat"
                        ImageUrl="~/images/page/saveClose.gif" OnClick="imgbtnKaydetKapat_Click" Width="16px" />
                </td>
                <td>
                    <asp:ImageButton runat="server" ID="imgbtnSil" AlternateText="Sil" ImageUrl="~/images/page/remove.gif"
                        OnClick="imgbtnSil_Click" />
                </td>
                 <td>
                    <asp:ImageButton ID="imgNewREcord" AlternateText="Yeni Kayıt" runat="server" ImageUrl="~/images/page/newrecord.gif"
                        OnClick="imgNewREcord_Click" Style="width: 16px" />
                </td>
            </tr>
        </table>
    </div>
    <div>
        <table>
            <asp:Panel runat="server" ID="pnlControls">
                <tr>
                    <td style="width: 25%;">
                        <cc1:CrmLabel runat="server" ID="lblUsr_Kod" Text="Kullanıcı Kodu"></cc1:CrmLabel>
                    </td>
                    <td style="width: 5%;">
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtUsr_Kod" KontrolTipi="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblUsr_Adi" Text="Kullanıcı Adı"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtUsr_Adi" KontrolTipi="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblUsr_Pwd" Text="Password"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtUsr_Pwd" KontrolTipi="Multi" TextMode="Password"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblUsr_Tel" Text="Telefon"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtUsr_Tel" KontrolTipi="Sayi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblUsr_Email" Text="E_Mail Adresi"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtUsr_Email" KontrolTipi="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblUsr_Firma" Text="Firma Adı"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtUsr_Firma" KontrolTipi="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblUsr_Donem" Text="Dönem"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtUsr_Donem" KontrolTipi="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblusr_kasa_kod" Text="Kasa Kod"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtUsr_Kasa_Kod" KontrolTipi="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblusr_yetkili" Text="Yetkili"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmCheckBox runat="server" ID="chkusr_yetkili" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblusr_depo_kod" Text="Depo Kodu"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmDropDown runat="server" ID="drpusr_depo_kod" Width="140px">
                        </cc1:CrmDropDown>
                    </td>
                </tr>
            </asp:Panel>
        </table>
    </div>
    </form>
</body>
</html>
